#!/bin/bash

cp ./duplicate_detector.py /lib/python3/dist-packages/thingsboard_gateway/gateway/duplicate_detector.py

python3 auto_update_mqtt.py

cp ./mqtt.json /etc/thingsboard-gateway/config/mqtt.json
